package com.SmartCare.pojo.health;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BodyHeartRate implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 检测编号
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 老人编号
     */
    private Long elderlyId;

    /**
     * 心率
     */
    private Float heartRate;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
}
